package com.hb.resource.service;

import java.io.IOException;
import java.util.concurrent.ExecutionException;

/**
 * @author hb
 * @date 2023/4/22
 */

public interface BusinessService extends BaseService<String>{
    String detailProcess(String url, String requestWay) throws IOException, ExecutionException, InterruptedException;

    @Override
    default String process(String ...args) throws IOException, ExecutionException, InterruptedException {
        return detailProcess((String)args[0], (String)args[1]);
    }
}
